stylecontext: Don't crah when invalidate() is called on saved context
authorBenjamin Otte <otte@redhat.com>
Wed, 4 Feb 2015 20:08:54 +0000 (21:08 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 4 Feb 2015 20:20:29 +0000 (21:20 +0100)
commitedec64cda3d4518b4e87d5ea5d287d4570ba9933
treeea64e1aa017a2bb028a691b914e69a4bcbaab3fe
parent473ab791ff10c46426c2aab4cd8c3fe8d77a8925
stylecontext: Don't crah when invalidate() is called on saved context

We need to invalidate the root node, not the current one.
Fixes crashes on startup of eclipse.

Testcase included.

https://bugzilla.redhat.com/show_bug.cgi?id=1185828
gtk/gtkstylecontext.c
testsuite/gtk/stylecontext.c